package com.melody.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 歌曲点击量
 * @TableName music_count
 */
@TableName(value ="music_count")
@Data
public class MusicCount implements Serializable {
    /**
     * 歌曲点击量id
     */
    @TableId(value = "music_count_id")
    private Integer musicCountId;

    /**
     * 关联用户信息表
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 关联歌曲信息表
     */
    @TableField(value = "music_id")
    private Integer musicId;

    /**
     * 点击量
     */
    @TableField(value = "click_count")
    private Long clickCount;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;

    /**
     * 逻辑删除标记，0:未删除,1:已删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}